<?php

namespace app\miniprogram\controller;

abstract class SubsidiaryOne extends Base {
    //创建信息
    public function edit() {
    	$this->ajax_process(function($process, $user) {
    		return $process->save($user);
    	});
    }

    /*
     *私有查看
     *需传入主ID，需验证身份
     */
    public function info() {
    	$this->ajax_process(function($process, $user) {
    		return $process->info($user);
    	});
    }

    /*
     *公开查看
     *需传入sid
     */
    public function look() {
    	$this->ajax_process(function($process, $user) {
    		return $process->look();
    	});
    }
}